package com.wugh.fast.demo;

import com.wugh.fast.module.mapper.CommonMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 说明:
 *
 * @author wugh
 * @date 2019-01-30 16:50
 */
@EnableSwagger2
@Slf4j
@EnableHystrix
@EnableFeignClients
@SpringCloudApplication
@SpringBootApplication
@MapperScan(basePackages = "com.wugh.fast.demo", markerInterface = CommonMapper.class)
@EnableAsync
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }


}
